home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Paradise in the Skirt
/
Paradise in the Skirt.iso
/
town2.dir
/
00069_Script_Man
< prev
next >
Wrap
Text File
|
1994-11-11
|
7KB
|
192 lines
global gBlockList,gGirlList,gEntranceList,totalHpoint,moveV,moveH,RmoveH,RmoveV,stepNo,manH,manV,raderH,raderV,gMovieList,movieNo,movieName
on moveMan direction
put stepNo + 1 into stepNo
if direction = 8 then
put 0 into moveH
put -9 into moveV
put 0 into RmoveH
put -72 into RmoveV
put 19 into startCast
put 22 into endCast
else if direction = 2 then
put 0 into moveH
put 9 into moveV
put 0 into RmoveH
put 72 into RmoveV
put 15 into startCast
put 18 into endCast
else if direction = 4 then
put -12 into moveH
put 0 into moveV
put -48 into RmoveH
put 0 into RmoveV
put 23 into startCast
put 26 into endCast
else if direction = 6 then
put 12 into moveH
put 0 into moveV
put 48 into RmoveH
put 0 into RmoveV
put 27 into startCast
put 30 into endCast
end if
IF NOT(THE CASTNUM OF SPRITE 13 = startCast) THEN
SET THE CASTNUM OF SPRITE 13 TO startCast
UPDATESTAGE
mMove girl1
mMove girl2
EXIT
END IF
if direction = 8 then
repeat with spno in gEntranceList
if sprite 14 intersects spno then
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "U2"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "U3"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "U4"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "U1"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "U2"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "U3"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "U4"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "U1"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 12
UPDATESTAGE
if spno = 34 then
go movie "TRAN2.DIR"
exit
else if spno = 35 then
put 440 into manH
put 298 into manV
put 432 into raderH
put 289 into raderV
play movie "DEPT"&string(random(2))&"1.DIR"
exit
else if spno = 36 then
play movie "RECR"&string(random(3))&".DIR"
exit
end if
end if
end repeat
end if
set the locH of sprite 14 = the locH of sprite 14 + RmoveH
set the locV of sprite 14 = the locV of sprite 14 + RmoveV
updateStage
if stepNo >= 5 then
repeat with spno in gGirlList
if sprite 14 intersects spno then
if random(7) = 2 then
go to marker(1)
nanpa
set the locH of sprite 14 = the locH of sprite 14 - RmoveH
set the locV of sprite 14 = the locV of sprite 14 - RmoveV
exit
end if
put getaProp(gMovieList,spno) into movieNo
put item 1 of line movieNo of the text of cast "CommentList" into Hpoint
SET THE LOCH OF SPRITE 14 TO THE LOCH OF SPRITE 14 - RmoveH
set the locV of sprite 14 to the locV of sprite 14 - RmoveV
puppetSprite 48, False
updateStage
sound stop 1
put "W" into movieName
playQTMovie
put value(Hpoint) into thisHpoint
if thisHpoint > 0 then
set the text of cast "Comment" to "H.Point +"&Hpoint
else
put abs(thisHpoint) into Hpoint
set the text of cast "Comment" to "H.Point -"&Hpoint
end if
put totalHpoint + thisHpoint into totalHpoint
put totalHpoint into field "Hpoint"
put 0 into stepNo
EXIT
END IF
END REPEAT
end if
repeat with spno in gBlockList
if sprite 14 intersects spno then
SET THE LOCV OF SPRITE 14 TO THE LOCV OF SPRITE 14 - RmoveV
set the locH of sprite 14 to the locH of sprite 14 - RmoveH
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 1
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 2
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 3
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast
UPDATESTAGE
mMove girl1
mMove girl2
EXIT
end if
end repeat
IF NOT(SPRITE 14 WITHIN 3) THEN
SET THE LOCH OF SPRITE 14 TO THE LOCH OF SPRITE 14 - RmoveH
set the locV of sprite 14 to the locV of sprite 14 - RmoveV
SET THE CASTNUM OF SPRITE 13 TO startCast + 1
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 2
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 3
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 1
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 2
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 3
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast
UPDATESTAGE
mMove girl1
mMove girl2
ELSE
if direction = 8 or direction = 2 then
put 2 into step
else
put 1 into step
end if
repeat with i = 1 to step
SET THE CASTNUM OF SPRITE 13 TO startCast + 1
SET THE LOCH OF SPRITE 13 TO THE LOCH OF SPRITE 13 + moveH
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + moveV
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 2
SET THE LOCH OF SPRITE 13 TO THE LOCH OF SPRITE 13 + moveH
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + moveV
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 3
SET THE LOCH OF SPRITE 13 TO THE LOCH OF SPRITE 13 + moveH
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + moveV
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast
SET THE LOCH OF SPRITE 13 TO THE LOCH OF SPRITE 13 + moveH
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + moveV
UPDATESTAGE
end repeat
mMove girl1
mMove girl2
END IF
end